﻿
@{
    Layout = null;
    string guid = "g" + Guid.NewGuid().ToString().Replace("-", "");
}

<div class="page-content" id="@guid">
    <div class="row">

        <div class="col-xs-12">
            <form class="form-inline" id="formSearch" call-url="@Url.Action("PagedList")">
                <!-- 当前页码 -->
                <input type="hidden" name="pageIndex" id="pageIndex" value="1" />
                <div class="form-group">

                    @Html.GetInputWithLabel("LoginName", "请输入登录帐号", classs: "", labelName: "登录帐号")
                    @Html.GetInputWithLabel("RelName", "请输入真实姓名", classs: "", labelName: "真实姓名")
                    @Html.GetInputWithLabel("Phone", "请输入手机号", classs: "", labelName: "手机号")

                    <span class="btn btn-xs btn-info btnSearch" style="margin-top:-4px;">
                        <i class="glyphicon glyphicon-search " aria-hidden="true"></i>搜索
                    </span>
                  
                    <span class="btn btn-xs btn-success popupEdit" style="margin-top:-4px;" title="添加操作" call-type="add" call-url="@Url.Action("Edit",new { id=0})" callback-url="@Url.Action("Manager")">
                        <i class="fa fa-plus"></i>添加
                    </span>
                </div>
            </form>
        </div>
        <div class="col-xs-12" style="margin-top: 10px;" id="loanTable">

        </div>
        <div class="col-xs-12" style="margin-top: 0px;">
            <div class="pagesizes">
                <!-- 显示分页条 -->
                <div id="Pagination" class="mypagebar">
                </div>
            </div>
            <!-- 显示总记录数 -->
            <div id="pageSetting">
            </div>
        </div>
    </div>
</div>
<script>
	$(function () {
		var url = "@ViewBag.CurrentPageUrl";
		backtoPrePage(url, function () { 
			LoadPageBar($("#mainTabContent div.active").find("#formSearch").attr("call-url"), "Pagination", 0, $("#mainTabContent div.active"));

		});


    });
</script>
